
<html>
<style>
    input{
        width: 300px;
        height: 30px;
    }
#div1{
    width: 300px;
    height: 300px;
    margin: 0 auto;

}
</style>
<body>

   <div id="div1">

           <h1>登录</h1>
           <form method="post" action="user.php">
               <input type="text" name="username" >
               <br />
               <br />
               <input type="password" name="pwd">
               <br />
               <br />
               <input type="submit" value="登录">
           </form>

   </div>

</body>
</html>
